POST api/SupplyChainService/PostPayBill?attachmentUrl={attachmentUrl}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
attachmentUrl

string

Required

Body Parameters

ElectronicBillDTO
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

BillNumber

string

None.

Amount

decimal number

None.

IsBankAcceptance

boolean

None.

SellerTenatName

string

None.

Seller

string

None.

SellerUserId

string

None.

BuyerTenatName

string

None.

Buyer

string

None.

BuyerUserId

string

None.

AccountStatementId

globally unique identifier

None.

AccountStatementNumber

string

None.

BankBillStatus

BankBillStatus

None.

CRTACC

string

Max length: 128

CRTNAM

string

Max length: 128

CRTBRD

string

Max length: 128

GRNTEE

boolean

None.

PayNumber

string

None.

ConfirmPay

boolean

None.

Orders

Collection of ElectronicBillOfOrderDTO

None.

IsDeleted

boolean

None.

CreatedBy

string

None.

CreatedDate

date

None.

ModifiedBy

string

None.

ModifiedDate

date

None.

TopDomainName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "f077ef98-ad23-48ee-8d86-128c475b5e56",
  "BillNumber": "sample string 2",
  "Amount": 3.0,
  "IsBankAcceptance": true,
  "SellerTenatName": "sample string 5",
  "Seller": "sample string 6",
  "SellerUserId": "sample string 7",
  "BuyerTenatName": "sample string 8",
  "Buyer": "sample string 9",
  "BuyerUserId": "sample string 10",
  "AccountStatementId": "4edd93ca-8c06-47cd-92d6-c4e75cb14742",
  "AccountStatementNumber": "sample string 11",
  "BankBillStatus": 0,
  "CRTACC": "sample string 12",
  "CRTNAM": "sample string 13",
  "CRTBRD": "sample string 14",
  "GRNTEE": true,
  "PayNumber": "sample string 16",
  "ConfirmPay": true,
  "Orders": [
    {
      "$id": "2",
      "Id": "6f9eacc6-3773-4fbb-a886-bfe6cc825aee",
      "Amount": 3.0,
      "OrderNumber": "sample string 4",
      "PONumber": "sample string 5",
      "SONumber": "sample string 6",
      "PayableNumber": "sample string 7",
      "IsDeleted": true,
      "CreatedBy": "sample string 9",
      "CreatedDate": "2021-10-20T07:00:52.237204+00:00",
      "ModifiedBy": "sample string 11",
      "ModifiedDate": "2021-10-20T07:00:52.237204+00:00",
      "TopDomainName": "sample string 13"
    },
    {
      "$ref": "2"
    }
  ],
  "IsDeleted": true,
  "CreatedBy": "sample string 19",
  "CreatedDate": "2021-10-20T07:00:52.237204+00:00",
  "ModifiedBy": "sample string 21",
  "ModifiedDate": "2021-10-20T07:00:52.237204+00:00",
  "TopDomainName": "sample string 23"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResultOfString

None.

Response Formats

application/json, text/json

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