Service
Click here for a complete list of operations.
UpdateCustomerSupplierContract
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /Service.asmx HTTP/1.1
Host: secure.seabright.app
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://Seabrightservices/UpdateCustomerSupplierContract"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<UpdateCustomerSupplierContract xmlns="http://Seabrightservices/">
<ContractId>int</ContractId>
<ContractStatus>string</ContractStatus>
<ContractStartDate>dateTime</ContractStartDate>
<ContractExpireDate>dateTime</ContractExpireDate>
<ContractLength>int</ContractLength>
<HospitalContractNo>string</HospitalContractNo>
<StatusEffectiveDate>dateTime</StatusEffectiveDate>
</UpdateCustomerSupplierContract>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<UpdateCustomerSupplierContractResponse xmlns="http://Seabrightservices/">
<UpdateCustomerSupplierContractResult>
<ContractId>int</ContractId>
<ContractNumber>string</ContractNumber>
<CustomerId>int</CustomerId>
<ContractItemId>int</ContractItemId>
<SupplierId>int</SupplierId>
<ContactNumber>string</ContactNumber>
<ContractStatus>string</ContractStatus>
<EffectiveDate>dateTime</EffectiveDate>
<EffectiveStatus>string</EffectiveStatus>
<ContractStartDate>dateTime</ContractStartDate>
<ContractExpireDate>dateTime</ContractExpireDate>
<ContractLength>int</ContractLength>
<HospitalContractNo>string</HospitalContractNo>
<SystemName>string</SystemName>
<CreatedDate>dateTime</CreatedDate>
<StatusEffectiveDate>dateTime</StatusEffectiveDate>
<CreatedByUserId>int</CreatedByUserId>
<IsDeleted>boolean</IsDeleted>
<IsActive>boolean</IsActive>
<DeletedDate>dateTime</DeletedDate>
<DeletedByUserId>int</DeletedByUserId>
<Result>string</Result>
<Error>string</Error>
<CustomerName>string</CustomerName>
<SupplierName>string</SupplierName>
<DivisionName>string</DivisionName>
<ItemId>int</ItemId>
<Message>string</Message>
<Name>string</Name>
<ItemType>string</ItemType>
<Description>string</Description>
<ItemNumber>string</ItemNumber>
<Price>string</Price>
<UOM>string</UOM>
<SHS_Category>string</SHS_Category>
<SHS_Subcategory1>string</SHS_Subcategory1>
<SHS_Subcategory2>string</SHS_Subcategory2>
<SHS_Subcategory3>string</SHS_Subcategory3>
<SHS_Material>string</SHS_Material>
<ConversionRate>string</ConversionRate>
<LUOM>string</LUOM>
<TotalPageCount>int</TotalPageCount>
<ContractItems>
<ContractItem>
<ContractItemId>int</ContractItemId>
<ContractId>int</ContractId>
<ItemId>int</ItemId>
<SupplierItemNumber>string</SupplierItemNumber>
<HospitalItem>string</HospitalItem>
<ContractUnitPrice>int</ContractUnitPrice>
<HospitalContractNo>string</HospitalContractNo>
<CreatedDate>dateTime</CreatedDate>
<CreatedByUserId>int</CreatedByUserId>
<IsDeleted>boolean</IsDeleted>
<DeletedByUserId>int</DeletedByUserId>
<DeletedDate>dateTime</DeletedDate>
<Message>string</Message>
<ContractStatus>string</ContractStatus>
<Name>string</Name>
<ItemCategory>string</ItemCategory>
<GTIN>string</GTIN>
<BillItemList xsi:nil="true" />
</ContractItem>
<ContractItem>
<ContractItemId>int</ContractItemId>
<ContractId>int</ContractId>
<ItemId>int</ItemId>
<SupplierItemNumber>string</SupplierItemNumber>
<HospitalItem>string</HospitalItem>
<ContractUnitPrice>int</ContractUnitPrice>
<HospitalContractNo>string</HospitalContractNo>
<CreatedDate>dateTime</CreatedDate>
<CreatedByUserId>int</CreatedByUserId>
<IsDeleted>boolean</IsDeleted>
<DeletedByUserId>int</DeletedByUserId>
<DeletedDate>dateTime</DeletedDate>
<Message>string</Message>
<ContractStatus>string</ContractStatus>
<Name>string</Name>
<ItemCategory>string</ItemCategory>
<GTIN>string</GTIN>
<BillItemList xsi:nil="true" />
</ContractItem>
</ContractItems>
<Itemlist>
<ItemId>int</ItemId>
<Name>string</Name>
<ItemType>string</ItemType>
<Description>string</Description>
<ItemNumber>string</ItemNumber>
<ItemSerialNumber>string</ItemSerialNumber>
<LotNumber>string</LotNumber>
<Price>decimal</Price>
<UOM>string</UOM>
<ExtendedPrice>decimal</ExtendedPrice>
<CreatedDate>dateTime</CreatedDate>
<CreatedByUserId>int</CreatedByUserId>
<IsDeleted>boolean</IsDeleted>
<DeletedByUserId>int</DeletedByUserId>
<DeletedDate>dateTime</DeletedDate>
<Message>string</Message>
</Itemlist>
</UpdateCustomerSupplierContractResult>
</UpdateCustomerSupplierContractResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /Service.asmx HTTP/1.1
Host: secure.seabright.app
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<UpdateCustomerSupplierContract xmlns="http://Seabrightservices/">
<ContractId>int</ContractId>
<ContractStatus>string</ContractStatus>
<ContractStartDate>dateTime</ContractStartDate>
<ContractExpireDate>dateTime</ContractExpireDate>
<ContractLength>int</ContractLength>
<HospitalContractNo>string</HospitalContractNo>
<StatusEffectiveDate>dateTime</StatusEffectiveDate>
</UpdateCustomerSupplierContract>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<UpdateCustomerSupplierContractResponse xmlns="http://Seabrightservices/">
<UpdateCustomerSupplierContractResult>
<ContractId>int</ContractId>
<ContractNumber>string</ContractNumber>
<CustomerId>int</CustomerId>
<ContractItemId>int</ContractItemId>
<SupplierId>int</SupplierId>
<ContactNumber>string</ContactNumber>
<ContractStatus>string</ContractStatus>
<EffectiveDate>dateTime</EffectiveDate>
<EffectiveStatus>string</EffectiveStatus>
<ContractStartDate>dateTime</ContractStartDate>
<ContractExpireDate>dateTime</ContractExpireDate>
<ContractLength>int</ContractLength>
<HospitalContractNo>string</HospitalContractNo>
<SystemName>string</SystemName>
<CreatedDate>dateTime</CreatedDate>
<StatusEffectiveDate>dateTime</StatusEffectiveDate>
<CreatedByUserId>int</CreatedByUserId>
<IsDeleted>boolean</IsDeleted>
<IsActive>boolean</IsActive>
<DeletedDate>dateTime</DeletedDate>
<DeletedByUserId>int</DeletedByUserId>
<Result>string</Result>
<Error>string</Error>
<CustomerName>string</CustomerName>
<SupplierName>string</SupplierName>
<DivisionName>string</DivisionName>
<ItemId>int</ItemId>
<Message>string</Message>
<Name>string</Name>
<ItemType>string</ItemType>
<Description>string</Description>
<ItemNumber>string</ItemNumber>
<Price>string</Price>
<UOM>string</UOM>
<SHS_Category>string</SHS_Category>
<SHS_Subcategory1>string</SHS_Subcategory1>
<SHS_Subcategory2>string</SHS_Subcategory2>
<SHS_Subcategory3>string</SHS_Subcategory3>
<SHS_Material>string</SHS_Material>
<ConversionRate>string</ConversionRate>
<LUOM>string</LUOM>
<TotalPageCount>int</TotalPageCount>
<ContractItems>
<ContractItem>
<ContractItemId>int</ContractItemId>
<ContractId>int</ContractId>
<ItemId>int</ItemId>
<SupplierItemNumber>string</SupplierItemNumber>
<HospitalItem>string</HospitalItem>
<ContractUnitPrice>int</ContractUnitPrice>
<HospitalContractNo>string</HospitalContractNo>
<CreatedDate>dateTime</CreatedDate>
<CreatedByUserId>int</CreatedByUserId>
<IsDeleted>boolean</IsDeleted>
<DeletedByUserId>int</DeletedByUserId>
<DeletedDate>dateTime</DeletedDate>
<Message>string</Message>
<ContractStatus>string</ContractStatus>
<Name>string</Name>
<ItemCategory>string</ItemCategory>
<GTIN>string</GTIN>
<BillItemList xsi:nil="true" />
</ContractItem>
<ContractItem>
<ContractItemId>int</ContractItemId>
<ContractId>int</ContractId>
<ItemId>int</ItemId>
<SupplierItemNumber>string</SupplierItemNumber>
<HospitalItem>string</HospitalItem>
<ContractUnitPrice>int</ContractUnitPrice>
<HospitalContractNo>string</HospitalContractNo>
<CreatedDate>dateTime</CreatedDate>
<CreatedByUserId>int</CreatedByUserId>
<IsDeleted>boolean</IsDeleted>
<DeletedByUserId>int</DeletedByUserId>
<DeletedDate>dateTime</DeletedDate>
<Message>string</Message>
<ContractStatus>string</ContractStatus>
<Name>string</Name>
<ItemCategory>string</ItemCategory>
<GTIN>string</GTIN>
<BillItemList xsi:nil="true" />
</ContractItem>
</ContractItems>
<Itemlist>
<ItemId>int</ItemId>
<Name>string</Name>
<ItemType>string</ItemType>
<Description>string</Description>
<ItemNumber>string</ItemNumber>
<ItemSerialNumber>string</ItemSerialNumber>
<LotNumber>string</LotNumber>
<Price>decimal</Price>
<UOM>string</UOM>
<ExtendedPrice>decimal</ExtendedPrice>
<CreatedDate>dateTime</CreatedDate>
<CreatedByUserId>int</CreatedByUserId>
<IsDeleted>boolean</IsDeleted>
<DeletedByUserId>int</DeletedByUserId>
<DeletedDate>dateTime</DeletedDate>
<Message>string</Message>
</Itemlist>
</UpdateCustomerSupplierContractResult>
</UpdateCustomerSupplierContractResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /Service.asmx/UpdateCustomerSupplierContract?ContractId=string&ContractStatus=string&ContractStartDate=string&ContractExpireDate=string&ContractLength=string&HospitalContractNo=string&StatusEffectiveDate=string HTTP/1.1 Host: secure.seabright.app
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<CustomerSupplierContract xmlns="http://Seabrightservices/">
<ContractId>int</ContractId>
<ContractNumber>string</ContractNumber>
<CustomerId>int</CustomerId>
<ContractItemId>int</ContractItemId>
<SupplierId>int</SupplierId>
<ContactNumber>string</ContactNumber>
<ContractStatus>string</ContractStatus>
<EffectiveDate>dateTime</EffectiveDate>
<EffectiveStatus>string</EffectiveStatus>
<ContractStartDate>dateTime</ContractStartDate>
<ContractExpireDate>dateTime</ContractExpireDate>
<ContractLength>int</ContractLength>
<HospitalContractNo>string</HospitalContractNo>
<SystemName>string</SystemName>
<CreatedDate>dateTime</CreatedDate>
<StatusEffectiveDate>dateTime</StatusEffectiveDate>
<CreatedByUserId>int</CreatedByUserId>
<IsDeleted>boolean</IsDeleted>
<IsActive>boolean</IsActive>
<DeletedDate>dateTime</DeletedDate>
<DeletedByUserId>int</DeletedByUserId>
<Result>string</Result>
<Error>string</Error>
<CustomerName>string</CustomerName>
<SupplierName>string</SupplierName>
<DivisionName>string</DivisionName>
<ItemId>int</ItemId>
<Message>string</Message>
<Name>string</Name>
<ItemType>string</ItemType>
<Description>string</Description>
<ItemNumber>string</ItemNumber>
<Price>string</Price>
<UOM>string</UOM>
<SHS_Category>string</SHS_Category>
<SHS_Subcategory1>string</SHS_Subcategory1>
<SHS_Subcategory2>string</SHS_Subcategory2>
<SHS_Subcategory3>string</SHS_Subcategory3>
<SHS_Material>string</SHS_Material>
<ConversionRate>string</ConversionRate>
<LUOM>string</LUOM>
<TotalPageCount>int</TotalPageCount>
<ContractItems>
<ContractItem>
<ContractItemId>int</ContractItemId>
<ContractId>int</ContractId>
<ItemId>int</ItemId>
<SupplierItemNumber>string</SupplierItemNumber>
<HospitalItem>string</HospitalItem>
<ContractUnitPrice>int</ContractUnitPrice>
<HospitalContractNo>string</HospitalContractNo>
<CreatedDate>dateTime</CreatedDate>
<CreatedByUserId>int</CreatedByUserId>
<IsDeleted>boolean</IsDeleted>
<DeletedByUserId>int</DeletedByUserId>
<DeletedDate>dateTime</DeletedDate>
<Message>string</Message>
<ContractStatus>string</ContractStatus>
<Name>string</Name>
<ItemCategory>string</ItemCategory>
<GTIN>string</GTIN>
<BillItemList>
<Item d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<Item d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</BillItemList>
</ContractItem>
<ContractItem>
<ContractItemId>int</ContractItemId>
<ContractId>int</ContractId>
<ItemId>int</ItemId>
<SupplierItemNumber>string</SupplierItemNumber>
<HospitalItem>string</HospitalItem>
<ContractUnitPrice>int</ContractUnitPrice>
<HospitalContractNo>string</HospitalContractNo>
<CreatedDate>dateTime</CreatedDate>
<CreatedByUserId>int</CreatedByUserId>
<IsDeleted>boolean</IsDeleted>
<DeletedByUserId>int</DeletedByUserId>
<DeletedDate>dateTime</DeletedDate>
<Message>string</Message>
<ContractStatus>string</ContractStatus>
<Name>string</Name>
<ItemCategory>string</ItemCategory>
<GTIN>string</GTIN>
<BillItemList>
<Item d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<Item d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</BillItemList>
</ContractItem>
</ContractItems>
<Itemlist>
<ItemId>int</ItemId>
<Name>string</Name>
<ItemType>string</ItemType>
<Description>string</Description>
<ItemNumber>string</ItemNumber>
<ItemSerialNumber>string</ItemSerialNumber>
<LotNumber>string</LotNumber>
<Price>decimal</Price>
<UOM>string</UOM>
<ExtendedPrice>decimal</ExtendedPrice>
<CreatedDate>dateTime</CreatedDate>
<CreatedByUserId>int</CreatedByUserId>
<IsDeleted>boolean</IsDeleted>
<DeletedByUserId>int</DeletedByUserId>
<DeletedDate>dateTime</DeletedDate>
<Message>string</Message>
</Itemlist>
</CustomerSupplierContract>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /Service.asmx/UpdateCustomerSupplierContract HTTP/1.1 Host: secure.seabright.app Content-Type: application/x-www-form-urlencoded Content-Length: length ContractId=string&ContractStatus=string&ContractStartDate=string&ContractExpireDate=string&ContractLength=string&HospitalContractNo=string&StatusEffectiveDate=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<CustomerSupplierContract xmlns="http://Seabrightservices/">
<ContractId>int</ContractId>
<ContractNumber>string</ContractNumber>
<CustomerId>int</CustomerId>
<ContractItemId>int</ContractItemId>
<SupplierId>int</SupplierId>
<ContactNumber>string</ContactNumber>
<ContractStatus>string</ContractStatus>
<EffectiveDate>dateTime</EffectiveDate>
<EffectiveStatus>string</EffectiveStatus>
<ContractStartDate>dateTime</ContractStartDate>
<ContractExpireDate>dateTime</ContractExpireDate>
<ContractLength>int</ContractLength>
<HospitalContractNo>string</HospitalContractNo>
<SystemName>string</SystemName>
<CreatedDate>dateTime</CreatedDate>
<StatusEffectiveDate>dateTime</StatusEffectiveDate>
<CreatedByUserId>int</CreatedByUserId>
<IsDeleted>boolean</IsDeleted>
<IsActive>boolean</IsActive>
<DeletedDate>dateTime</DeletedDate>
<DeletedByUserId>int</DeletedByUserId>
<Result>string</Result>
<Error>string</Error>
<CustomerName>string</CustomerName>
<SupplierName>string</SupplierName>
<DivisionName>string</DivisionName>
<ItemId>int</ItemId>
<Message>string</Message>
<Name>string</Name>
<ItemType>string</ItemType>
<Description>string</Description>
<ItemNumber>string</ItemNumber>
<Price>string</Price>
<UOM>string</UOM>
<SHS_Category>string</SHS_Category>
<SHS_Subcategory1>string</SHS_Subcategory1>
<SHS_Subcategory2>string</SHS_Subcategory2>
<SHS_Subcategory3>string</SHS_Subcategory3>
<SHS_Material>string</SHS_Material>
<ConversionRate>string</ConversionRate>
<LUOM>string</LUOM>
<TotalPageCount>int</TotalPageCount>
<ContractItems>
<ContractItem>
<ContractItemId>int</ContractItemId>
<ContractId>int</ContractId>
<ItemId>int</ItemId>
<SupplierItemNumber>string</SupplierItemNumber>
<HospitalItem>string</HospitalItem>
<ContractUnitPrice>int</ContractUnitPrice>
<HospitalContractNo>string</HospitalContractNo>
<CreatedDate>dateTime</CreatedDate>
<CreatedByUserId>int</CreatedByUserId>
<IsDeleted>boolean</IsDeleted>
<DeletedByUserId>int</DeletedByUserId>
<DeletedDate>dateTime</DeletedDate>
<Message>string</Message>
<ContractStatus>string</ContractStatus>
<Name>string</Name>
<ItemCategory>string</ItemCategory>
<GTIN>string</GTIN>
<BillItemList>
<Item d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<Item d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</BillItemList>
</ContractItem>
<ContractItem>
<ContractItemId>int</ContractItemId>
<ContractId>int</ContractId>
<ItemId>int</ItemId>
<SupplierItemNumber>string</SupplierItemNumber>
<HospitalItem>string</HospitalItem>
<ContractUnitPrice>int</ContractUnitPrice>
<HospitalContractNo>string</HospitalContractNo>
<CreatedDate>dateTime</CreatedDate>
<CreatedByUserId>int</CreatedByUserId>
<IsDeleted>boolean</IsDeleted>
<DeletedByUserId>int</DeletedByUserId>
<DeletedDate>dateTime</DeletedDate>
<Message>string</Message>
<ContractStatus>string</ContractStatus>
<Name>string</Name>
<ItemCategory>string</ItemCategory>
<GTIN>string</GTIN>
<BillItemList>
<Item d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<Item d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</BillItemList>
</ContractItem>
</ContractItems>
<Itemlist>
<ItemId>int</ItemId>
<Name>string</Name>
<ItemType>string</ItemType>
<Description>string</Description>
<ItemNumber>string</ItemNumber>
<ItemSerialNumber>string</ItemSerialNumber>
<LotNumber>string</LotNumber>
<Price>decimal</Price>
<UOM>string</UOM>
<ExtendedPrice>decimal</ExtendedPrice>
<CreatedDate>dateTime</CreatedDate>
<CreatedByUserId>int</CreatedByUserId>
<IsDeleted>boolean</IsDeleted>
<DeletedByUserId>int</DeletedByUserId>
<DeletedDate>dateTime</DeletedDate>
<Message>string</Message>
</Itemlist>
</CustomerSupplierContract>