POST api/SupplyChainService/ReceivingGoods

Request Information

URI Parameters

None.

Body Parameters

GoodsReceiptViewModel
NameDescriptionTypeAdditional information
GRNumber

string

None.

PONumber

string

None.

LGSNumber

string

None.

DNNumber

string

None.

Reference

string

None.

GRType

string

None.

GRDate

date

None.

DocDate

date

None.

DocTime

date

None.

DocNetAmount

decimal number

None.

PurOrganization

string

None.

PurGroup

string

None.

CompanyCode

string

None.

CompanyName

string

None.

CompanyAddress1

string

None.

CompanyAddress2

string

None.

CompanyCountry

string

None.

CompanyContactPerson

string

None.

CompanyContactPhone

string

None.

VendorID

integer

None.

ShipToID

integer

None.

Description

string

None.

STS_GR

GoodsReceiptsStatusEnum

None.

GoodsReceiptItems

Collection of GoodsReceiptItemViewModel

None.

Vendor

VendorViewModel

None.

ShipTo

ShipToViewModel

None.

AttachmentModels

Collection of Attachment

None.

IsDeleted

boolean

None.

CreatedBy

string

None.

CreatedDate

date

None.

ModifiedBy

string

None.

ModifiedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "GRNumber": "sample string 1",
  "PONumber": "sample string 2",
  "LGSNumber": "sample string 3",
  "DNNumber": "sample string 4",
  "Reference": "sample string 5",
  "GRType": "sample string 6",
  "GRDate": "2021-10-22T19:08:48.2833464+00:00",
  "DocDate": "2021-10-22T19:08:48.2833464+00:00",
  "DocTime": "2021-10-22T19:08:48.2833464+00:00",
  "DocNetAmount": 1.0,
  "PurOrganization": "sample string 7",
  "PurGroup": "sample string 8",
  "CompanyCode": "sample string 9",
  "CompanyName": "sample string 10",
  "CompanyAddress1": "sample string 11",
  "CompanyAddress2": "sample string 12",
  "CompanyCountry": "sample string 13",
  "CompanyContactPerson": "sample string 14",
  "CompanyContactPhone": "sample string 15",
  "VendorID": 1,
  "ShipToID": 1,
  "Description": "sample string 16",
  "STS_GR": 0,
  "GoodsReceiptItems": [
    {
      "$id": "2",
      "GRItem": 1,
      "GRNumber": "sample string 2",
      "PONumber": "sample string 3",
      "DNNumber": "sample string 4",
      "SLNUM": "sample string 5",
      "PartNumber": "sample string 6",
      "PartDescription": "sample string 7",
      "GRQuantity": 1.0,
      "Unit": "sample string 8",
      "VendorPN": "sample string 9",
      "VendorPNText": "sample string 10",
      "GRStock": "sample string 11",
      "GRPlant": "sample string 12",
      "POItem": "sample string 13",
      "DNItem": "sample string 14",
      "Reference": "sample string 15",
      "DNQuantity": 16.0
    },
    {
      "$ref": "2"
    }
  ],
  "Vendor": {
    "$id": "3",
    "VendorID": 1,
    "VendorCode": "sample string 2",
    "VendorName": "sample string 3",
    "VendorAddress1": "sample string 4",
    "VendorAddress2": "sample string 5",
    "VendorCountry": "sample string 6",
    "VendorContactPerson": "sample string 7",
    "VendorContactPhone": "sample string 8"
  },
  "ShipTo": {
    "$id": "4",
    "ShipToID": 1,
    "ShipToCode": "sample string 2",
    "ShipToName": "sample string 3",
    "ShipToAddress1": "sample string 4",
    "ShipToAddress2": "sample string 5",
    "ShipToCountry": "sample string 6",
    "ShipToContactPerson": "sample string 7",
    "ShipToContactPhone": "sample string 8"
  },
  "AttachmentModels": [
    {
      "$id": "5",
      "IsDeleted": true,
      "CreatedBy": "sample string 6",
      "CreatedDate": "2021-10-22T19:08:48.2833464+00:00",
      "ModifiedBy": "sample string 8",
      "ModifiedDate": "2021-10-22T19:08:48.2833464+00:00"
    },
    {
      "$ref": "5"
    }
  ],
  "IsDeleted": true,
  "CreatedBy": "sample string 18",
  "CreatedDate": "2021-10-22T19:08:48.2833464+00:00",
  "ModifiedBy": "sample string 20",
  "ModifiedDate": "2021-10-22T19:08:48.2833464+00:00"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResultOfBoolean

None.

Response Formats

application/json, text/json

Sample:
{
  "HttpStatusCode": 100,
  "Success": true,
  "ResultType": 0,
  "message": "sample string 2",
  "LogMessage": "sample string 3",
  "Result": true,
  "success": true
}